package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 订单优惠对象 shanglala_order_reward
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class OrderReward
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单表ID */
    @Excel(name = "订单表ID")
    private Long orderId;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long uid;

    /** 满减/送ID */
    @Excel(name = "满减/送ID")
    private Long rid;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    /** 描述序列化数组 */
    @Excel(name = "描述序列化数组")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setRid(Long rid) 
    {
        this.rid = rid;
    }

    public Long getRid() 
    {
        return rid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("uid", getUid())
            .append("rid", getRid())
            .append("name", getName())
            .append("content", getContent())
            .toString();
    }
}
